/**
 * 用户 -表 实体
 * @author ellwood
 * @date 2024-01-11
 * @version V1.0.0
 */

import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity('t_user')
export class User {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  name: string;

  @Column()
  password: string;

  @Column()
  enabled: string;

  @Column()
  roles: string;
}
